package es.deusto.ingenieria.is.touringproject.heuristics;

import es.deusto.ingenieria.is.search.algorithms.Node;
import es.deusto.ingenieria.is.search.algorithms.heuristic.EvaluationFunction;
import es.deusto.ingenieria.is.touringproject.formulation.Environment;

public class EuclideanDistanceEvaluationFunction extends EvaluationFunction  {
	public double calculateG(Node node) {
		Environment environment = (Environment) node.getState();	
		return environment.getDistanciaFinal();
	}
	
	public double calculateH(Node node) {
		return 0;
	}
}
